package com.example.demo14streamconsumer;

import com.example.demo14streamconsumer.msg.IReceiveService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.cloud.stream.messaging.Processor;
import org.springframework.cloud.stream.messaging.Sink;
import org.springframework.cloud.stream.messaging.Source;

/**
 * @author yawn
 */
@SpringBootApplication
@EnableEurekaClient
@EnableBinding({IReceiveService.class, Sink.class, Source.class, Processor.class})
public class Demo14StreamConsumerApplication {

	public static void main(String[] args) {
		SpringApplication.run(Demo14StreamConsumerApplication.class, args);
	}
}
